package net.seayan.designpattern4j.abstractfactory;

public enum ModuleEnum {
	// 把世界上所有人类型都定义出来
	PerfectWasherModule("net.seayan.designpattern.abstractfactory.impl.PerfectWasherModule"), 
	PoorWasherModule("net.seayan.designpattern.abstractfactory.impl.PoorWasherModule"), 
	PerfectFridgeModule("net.seayan.designpattern.abstractfactory.impl.PerfectFridgeModule"), 
	PoorFridgeModule("net.seayan.designpattern.abstractfactory.impl.PoorFridgeModule"); 
	
	private String value = "";

	// 定义构造函数，目的是Data(value)类型的相匹配
	private ModuleEnum(String value) {
		this.value = value;
	}

	public String getValue() {
		return this.value;
	}
}